package network.ip;

import org.junit.Test;

import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * @author mubei
 * @date 2021/12/4
 * @description
 */
public class IP_ {

    @Test()
    public void test1() throws Exception {

        InetAddress address = InetAddress.getByName("www.baidu.com");
        System.out.println(address);

    }
}
